<div class="layui-form-item">
    <label class="layui-form-label">{$form.title} </label>
    <div class="layui-input-inline">

        <select name="{$form.field}" [type]>
            <option value="">请选择</option>
            <?php foreach($form['value'] as $k=>$v){?>
            {if empty($info)}
            <option value="{$k}">{$v}</option>
            {else}
            <option value="{$k}" <?php if($info->getData($form['field']) == $k){?>selected<?php }?>>{$v}</option>
            {/if}
            <?php } ?>
        </select>
    </div>
</div>